package com.core.base.model;

/**
 * 基础model,所有的新增model继承此类,实现对公用属性和对象的封装
 * @author pt-chenqw
 *
 */
public class BaseModel {
	
	/**
	 * 主键ID
	 */
	private Integer id;
	
	/**
	 * 多个ID,用','隔开,用于批量删除
	 */
	private String ids;
	
	/**
	 * 当前页
	 */
	private int currentPage;
	
	/**
	 * 菜单ID,用于breadcrumb组件
	 */
	private String menuID;
	
	private String code;
	
	private String userName;
	
	private String email;
	
	private String phone;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public String getMenuID() {
		return menuID;
	}

	public void setMenuID(String menuID) {
		this.menuID = menuID;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
